package com.insmess.meeting.sdk.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 会议室
 * 
 * @author xujq
 * @email ${email}
 * @date 2024-04-27 18:54:16
 */
public class ImRoom implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
    private String id;
	/**
	 * 会议名称
	 */
    private String name;
	/**
	 * 会议描述
	 */
	private String description;
	/**
	 * 会议时长
	 */
	private Integer duration;
	/**
	 * 主持人id
	 */
    private String hostUsername;
	/**
	 * 主持人名称
	 */
    private String hostRealname;
	/**
	 * 创建时间
	 */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
	/**
	 * 开始时间
	 */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
	/**
	 * 创建人id
	 */
    private String createUsername;
	/**
	 * 创建人名称
	 */
    private String createRealname;
	/**
	 * 房间密码
	 */
    private String roomPassword;
	/**
	 * 0公开会议 1私密会议
	 */
    private Integer roomType;


	/**
	 * 会议成员列表（用户名）
	 * @return
	 */

	private List<String> usernames;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getDuration() {
		return duration;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	public String getHostUsername() {
		return hostUsername;
	}

	public void setHostUsername(String hostUsername) {
		this.hostUsername = hostUsername;
	}

	public String getHostRealname() {
		return hostRealname;
	}

	public void setHostRealname(String hostRealname) {
		this.hostRealname = hostRealname;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public String getCreateUsername() {
		return createUsername;
	}

	public void setCreateUsername(String createUsername) {
		this.createUsername = createUsername;
	}

	public String getCreateRealname() {
		return createRealname;
	}

	public void setCreateRealname(String createRealname) {
		this.createRealname = createRealname;
	}

	public String getRoomPassword() {
		return roomPassword;
	}

	public void setRoomPassword(String roomPassword) {
		this.roomPassword = roomPassword;
	}

	public Integer getRoomType() {
		return roomType;
	}

	public void setRoomType(Integer roomType) {
		this.roomType = roomType;
	}


	public List<String> getUsernames() {
		return usernames;
	}

	public void setUsernames(List<String> usernames) {
		this.usernames = usernames;
	}
}
